package mesh;

import math.base.Dir3d;
import math.base.Point2d;
import math.base.Point3d;

/**
 * @author Saga
 *
 */
public class MVertex extends MEntity {

    public final void setPoint(final Point3d _coord) {
        this.coord = _coord;
    }

    public final Point3d getPoint() {
        return this.coord;
    }

    public final void setTexCoord(final Point2d _texCoord) {
        this.texCoord = _texCoord;
    }

    public final Point2d getTexCoord() {
        return this.texCoord;
    }

    public final void setNormal(final Dir3d _normal) {
        this.normal = _normal;
    }

    public final Dir3d getNormal() {
        return this.normal;
    }

    private Point3d coord;
    private Point2d texCoord;
    private Dir3d normal;

    private int idInEdge;
    private MEdge adjEdge;

    private int idInFace;
    private MFace adjFace;
}
